cmake_minimum_required(VERSION 3.10)
project(CameraCapture)

# 找到OpenCV
find_package(OpenCV REQUIRED)

# 指定可执行文件
add_executable(CameraCapture main.cpp)

# 链接OpenCV库
target_link_libraries(CameraCapture ${OpenCV_LIBS})
